#ifndef _BALOONBOX_H_
#define _BALOONBOX_H_

#include <interfacelib/window/panel.h>
#include <interfacelib/window/editBox.h>

namespace interfacelib
{
	namespace Window
	{
		class BaloonBox : public interfacelib::Window::Panel
		{
		public:
			BaloonBox();
			virtual ~BaloonBox();

			bool create( const char *topImage, const char *lineImage, const char *bottomImage, int x, int y, DWORD attribute = VISIBLE );

			void setString( const char *string );

			virtual void draw( Window *checkWindow = NULL );

			void setColor( DWORD fore );
			void setColor( DWORD fore, DWORD back );
		private:
			interfacelib::Window::Window *m_topImage;
			interfacelib::Window::EditBox *m_textWindow;
			interfacelib::Window::Window *m_bottomImage;
		};
	};
};
#endif